#pragma once

#include <Windows.h>

namespace EC
{
	class ScreenDecorating
	{
	private:
		int currentbackgroundcolor, currenttextcolor;
		int prevbackgroundcolor, prevtextcolor;

		void PrevColorSave(int bgcolor, int textcolor);
	public:
		ScreenDecorating();

		void ColorPaint(int backgroundcolor, int textcolor);
		static void ColorPaint(int backgroundcolor, int textcolor, int);
		void PrevColorPaint();
		void ColorPuts(const char* str, int backgroundcolor, int textcolor);
		static void ColorPuts(const char* str, int backgroundcolor, int textcolor, int);
		void ColorPutsA(const char* str, int backgroundcolor, int textcolor);
		static void ColorPutsA(const char* str, int backgroundcolor, int textcolor, int);

		static int GetBGColor();
		static int GetColor();
	};
}